libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
NtCreateThreadBase.hh
Go to the documentation of this file.
1/*
2 * Copyright 2021 Assured Information Security, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/* This file is automatically generated. Do not edit. */
18#pragma once
19
20#include "NtSystemCall.hh"
22
25
26#include <memory>
27
28namespace introvirt {
29namespace windows {
30namespace nt {
31
36 public:
37 /* Direct parameter getters */
38
44 virtual guest_ptr<void> ThreadHandlePtr() const = 0;
50 virtual THREAD_ACCESS_MASK DesiredAccess() const = 0;
62 virtual uint64_t ProcessHandle() const = 0;
63
64 /* Direct parameter setters */
65
71 virtual void ThreadHandlePtr(const guest_ptr<void>& pThreadHandle) = 0;
83 virtual void ObjectAttributesPtr(const guest_ptr<void>& pObjectAttributes) = 0;
89 virtual void ProcessHandle(uint64_t ProcessHandle) = 0;
90
91 /* Helper methods */
92 virtual uint64_t ThreadHandle() const = 0;
93 virtual void ThreadHandle(uint64_t ThreadHandle) = 0;
94 virtual const OBJECT_ATTRIBUTES* ObjectAttributes() const = 0;
102 virtual std::shared_ptr<THREAD> get_new_thread() = 0;
103
107 virtual const std::shared_ptr<THREAD> get_new_thread() const = 0;
108};
109
110} /* namespace nt */
111} /* namespace windows */
112} /* namespace introvirt */
Definition guest_ptr.hh:88
Handler class for the NtCreateThreadBase system call.
Definition NtCreateThreadBase.hh:35
virtual uint64_t ThreadHandle() const =0
virtual void ThreadHandlePtr(const guest_ptr< void > &pThreadHandle)=0
Setter for ThreadHandlePtr.
virtual const std::shared_ptr< THREAD > get_new_thread() const =0
Get the newly created THREAD object.
virtual void ProcessHandle(uint64_t ProcessHandle)=0
Setter for ProcessHandle.
virtual void DesiredAccess(THREAD_ACCESS_MASK DesiredAccess)=0
Setter for DesiredAccess.
virtual guest_ptr< void > ObjectAttributesPtr() const =0
Getter for ObjectAttributesPtr.
virtual void ObjectAttributesPtr(const guest_ptr< void > &pObjectAttributes)=0
Setter for ObjectAttributesPtr.
virtual uint64_t ProcessHandle() const =0
Getter for ProcessHandle.
virtual std::shared_ptr< THREAD > get_new_thread()=0
Get the newly created THREAD object.
virtual void ThreadHandle(uint64_t ThreadHandle)=0
virtual guest_ptr< void > ThreadHandlePtr() const =0
Getter for ThreadHandlePtr.
virtual THREAD_ACCESS_MASK DesiredAccess() const =0
Getter for DesiredAccess.
virtual OBJECT_ATTRIBUTES * ObjectAttributes()=0
virtual const OBJECT_ATTRIBUTES * ObjectAttributes() const =0
Base type for NT system calls.
Definition NtSystemCall.hh:29
Definition OBJECT_ATTRIBUTES.hh:38
ACCESS_MASK class for thread permissions.
Definition THREAD_ACCESS_MASK.hh:67
Core IntroVirt classes.
Definition Cr0.hh:20