File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
volatility3/framework/plugins/windows Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,12 @@ def gather_thread_info(
110110 vollog .debug (f"Thread invalid address { ethread .vol .offset :#x} " )
111111 return None
112112
113- if owner_proc_pid == 4 or owner_proc .InheritedFromUniqueProcessId == 4 :
114- vollog .debug (
115- f"Skipping kernel process with pid { owner_proc .InheritedFromUniqueProcessId } "
116- )
117- return None
118-
119- if vads_cache is not None :
113+ # don't look for VADs in kernel threads, just let them get reported with empty paths
114+ if (
115+ owner_proc_pid != 4
116+ and owner_proc .InheritedFromUniqueProcessId != 4
117+ and vads_cache is not None
118+ ):
120119 vads = pe_symbols .PESymbols .get_vads_for_process_cache (
121120 vads_cache , owner_proc
122121 )
You can’t perform that action at this time.
0 commit comments