| 105 | |
| 106 | #[repr(C)] |
| 107 | pub struct PEB { |
| 108 | pub inherited_address_space: bool, |
| 109 | pub read_image_file_exec_options: bool, |
| 110 | pub being_debugged: bool, |
| 111 | pub spare: bool, |
| 112 | pub mutant: *mut c_void, |
| 113 | pub image_base: *mut c_void, |
| 114 | pub loader_data: *const PebLoaderData, |
| 115 | pub process_parameters: *const RtlUserProcessParameters, |
| 116 | pub sub_system_data: *mut c_void, |
| 117 | pub process_heap: *mut c_void, |
| 118 | pub fast_peb_lock: *mut c_void, |
| 119 | pub fast_peb_lock_routine: *mut c_void, |
| 120 | pub fast_peb_unlock_routine: *mut c_void, |
| 121 | pub environment_update_count: c_ulong, |
| 122 | pub kernel_callback_table: *const *mut c_void, |
| 123 | pub event_log_section: *mut c_void, |
| 124 | pub event_log: *mut c_void, |
| 125 | pub free_list: *mut c_void, |
| 126 | pub tls_expansion_counter: c_ulong, |
| 127 | pub tls_bitmap: *mut c_void, |
| 128 | pub tls_bitmap_bits: [c_ulong; 2], |
| 129 | pub read_only_shared_memory_base: *mut c_void, |
| 130 | pub read_only_shared_memory_heap: *mut c_void, |
| 131 | pub read_only_static_server_data: *const *mut c_void, |
| 132 | pub ansi_code_page_data: *mut c_void, |
| 133 | pub oem_code_page_data: *mut c_void, |
| 134 | pub unicode_case_table_data: *mut c_void, |
| 135 | pub number_of_processors: c_ulong, |
| 136 | pub nt_global_flag: c_ulong, |
| 137 | pub spare_2: [u8; 4], |
| 138 | pub critical_section_timeout: i64, |
| 139 | pub heap_segment_reserve: c_ulong, |
| 140 | pub heap_segment_commit: c_ulong, |
| 141 | pub heap_de_commit_total_free_threshold: c_ulong, |
| 142 | pub heap_de_commit_free_block_threshold: c_ulong, |
| 143 | pub number_of_heaps: c_ulong, |
| 144 | pub maximum_number_of_heaps: c_ulong, |
| 145 | pub process_heaps: *const *const *mut c_void, |
| 146 | pub gdi_shared_handle_table: *mut c_void, |
| 147 | pub process_starter_helper: *mut c_void, |
| 148 | pub gdi_dc_attribute_list: *mut c_void, |
| 149 | pub loader_lock: *mut c_void, |
| 150 | pub os_major_version: c_ulong, |
| 151 | pub os_minor_version: c_ulong, |
| 152 | pub os_build_number: c_ulong, |
| 153 | pub os_platform_id: c_ulong, |
| 154 | pub image_sub_system: c_ulong, |
| 155 | pub image_sub_system_major_version: c_ulong, |
| 156 | pub image_sub_system_minor_version: c_ulong, |
| 157 | pub gdi_handle_buffer: [c_ulong; 22], |
| 158 | pub post_process_init_routine: c_ulong, |
| 159 | pub tls_expansion_bitmap: c_ulong, |
| 160 | pub tls_expansion_bitmap_bits: [u8; 80], |
| 161 | pub session_id: c_ulong, |
| 162 | } |
| 163 | |
| 164 | #[repr(C)] |
nothing calls this directly
no outgoing calls
no test coverage detected