001/** 002 * Copyright 2012 Emmanuel Bourg 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http:/**www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package net.jsign.pe; 018 019/** 020 * Types of structures pointed in the "RVA & Sizes" table (data directory). 021 * 022 * @author Emmanuel Bourg 023 * @since 1.0 024 */ 025public enum DataDirectoryType { 026 027 /** The export table */ 028 EXPORT_TABLE, 029 030 /** The import table */ 031 IMPORT_TABLE, 032 033 /** The resource table */ 034 RESOURCE_TABLE, 035 036 /** The exception table */ 037 EXCEPTION_TABLE, 038 039 /** The attribute certificate table */ 040 CERTIFICATE_TABLE, 041 042 /** The base relocation table */ 043 BASE_RELOCATION_TABLE, 044 045 /** The debug data starting */ 046 DEBUG, 047 048 /** Reserved, must be 0 */ 049 ARCHITECTURE, 050 051 /** The RVA of the value to be stored in the global pointer register. The size member of this structure must be set to zero. */ 052 GLOBAL_POINTER, 053 054 /** The thread local storage (TLS) table */ 055 THREAD_LOCAL_STORAGE_TABLE, 056 057 /** The load configuration table */ 058 LOAD_CONFIG_TABLE, 059 060 /** The bound import table */ 061 BOUND_IMPORT_TABLE, 062 063 /** The import address table */ 064 IMPORT_ADDRESS_TABLE, 065 066 /** The delay import descriptor */ 067 DELAY_LOAD_IMPORT_TABLE, 068 069 /** The CLR runtime header */ 070 CLR_RUNTIME_HEADER 071}