Mercurial > hg > graal-compiler
comparison agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/OptionalHeaderDataDirectories.java @ 0:a61af66fc99e jdk7-b24
Initial load
author | duke |
---|---|
date | Sat, 01 Dec 2007 00:00:00 +0000 |
parents | |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a61af66fc99e |
---|---|
1 /* | |
2 * Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved. | |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
4 * | |
5 * This code is free software; you can redistribute it and/or modify it | |
6 * under the terms of the GNU General Public License version 2 only, as | |
7 * published by the Free Software Foundation. | |
8 * | |
9 * This code is distributed in the hope that it will be useful, but WITHOUT | |
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 * version 2 for more details (a copy is included in the LICENSE file that | |
13 * accompanied this code). | |
14 * | |
15 * You should have received a copy of the GNU General Public License version | |
16 * 2 along with this work; if not, write to the Free Software Foundation, | |
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 * | |
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
20 * CA 95054 USA or visit www.sun.com if you need additional information or | |
21 * have any questions. | |
22 * | |
23 */ | |
24 | |
25 package sun.jvm.hotspot.debugger.win32.coff; | |
26 | |
27 // FIXME: NOT FINISHED | |
28 | |
29 /** Models the information stored in the data directories portion of | |
30 the optional header of a Portable Executable file. FIXME: the | |
31 DataDirectory objects are less than useful; need to bring up more | |
32 of the data structures defined in the documentation. (Some of the | |
33 descriptions are taken directly from Microsoft's documentation and | |
34 are copyrighted by Microsoft.) */ | |
35 | |
36 public interface OptionalHeaderDataDirectories { | |
37 /** Export Table address and size. */ | |
38 public DataDirectory getExportTable() throws COFFException; | |
39 | |
40 /** Returns the Export Table, or null if none was present. */ | |
41 public ExportDirectoryTable getExportDirectoryTable() throws COFFException; | |
42 | |
43 /** Import Table address and size */ | |
44 public DataDirectory getImportTable() throws COFFException; | |
45 | |
46 /** Resource Table address and size. */ | |
47 public DataDirectory getResourceTable() throws COFFException; | |
48 | |
49 /** Exception Table address and size. */ | |
50 public DataDirectory getExceptionTable() throws COFFException; | |
51 | |
52 /** Attribute Certificate Table address and size. */ | |
53 public DataDirectory getCertificateTable() throws COFFException; | |
54 | |
55 /** Base Relocation Table address and size. */ | |
56 public DataDirectory getBaseRelocationTable() throws COFFException; | |
57 | |
58 /** Debug data starting address and size. */ | |
59 public DataDirectory getDebug() throws COFFException; | |
60 | |
61 /** Returns the Debug Directory, or null if none was present. */ | |
62 public DebugDirectory getDebugDirectory() throws COFFException; | |
63 | |
64 /** Architecture-specific data address and size. */ | |
65 public DataDirectory getArchitecture() throws COFFException; | |
66 | |
67 /** Relative virtual address of the value to be stored in the global | |
68 pointer register. Size member of this structure must be set to | |
69 0. */ | |
70 public DataDirectory getGlobalPtr() throws COFFException; | |
71 | |
72 /** Thread Local Storage (TLS) Table address and size. */ | |
73 public DataDirectory getTLSTable() throws COFFException; | |
74 | |
75 /** Load Configuration Table address and size. */ | |
76 public DataDirectory getLoadConfigTable() throws COFFException; | |
77 | |
78 /** Bound Import Table address and size. */ | |
79 public DataDirectory getBoundImportTable() throws COFFException; | |
80 | |
81 /** Import Address Table address and size. */ | |
82 public DataDirectory getImportAddressTable() throws COFFException; | |
83 | |
84 /** Address and size of the Delay Import Descriptor. */ | |
85 public DataDirectory getDelayImportDescriptor() throws COFFException; | |
86 | |
87 /** COM+ Runtime Header address and size */ | |
88 public DataDirectory getCOMPlusRuntimeHeader() throws COFFException; | |
89 } |