Mercurial > hg > truffle
annotate agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/OptionalHeaderStandardFields.java @ 6842:b9a9ed0f8eeb
7197424: update copyright year to match last edit in jdk8 hotspot repository
Summary: Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
author | mikael |
---|---|
date | Tue, 09 Oct 2012 10:09:34 -0700 |
parents | c18cbe5936b8 |
children |
rev | line source |
---|---|
0 | 1 /* |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
2 * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved. |
0 | 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 * | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
21 * questions. |
0 | 22 * |
23 */ | |
24 | |
25 package sun.jvm.hotspot.debugger.win32.coff; | |
26 | |
27 /** Models the information stored in the standard fields portion of | |
28 the optional header of a Portable Executable file. (Some of the | |
29 descriptions are taken directly from Microsoft's documentation and | |
30 are copyrighted by Microsoft.) */ | |
31 | |
32 public interface OptionalHeaderStandardFields { | |
33 public byte getMajorLinkerVersion(); | |
34 public byte getMinorLinkerVersion(); | |
35 | |
36 /** Size of the code (text) section, or the sum of all code sections | |
37 if there are multiple sections. */ | |
38 public int getSizeOfCode(); | |
39 | |
40 /** Size of the initialized data section, or the sum of all such | |
41 sections if there are multiple data sections. */ | |
42 public int getSizeOfInitializedData(); | |
43 | |
44 /** Size of the uninitialized data section (BSS), or the sum of all | |
45 such sections if there are multiple BSS sections. */ | |
46 public int getSizeOfUninitializedData(); | |
47 | |
48 /** Address of entry point, relative to image base, when executable | |
49 file is loaded into memory. For program images, this is the | |
50 starting address. For device drivers, this is the address of the | |
51 initialization function. An entry point is optional for DLLs. | |
52 When none is present this field should be 0. */ | |
53 public int getAddressOfEntryPoint(); | |
54 | |
55 /** Address, relative to image base, of beginning of code section, | |
56 when loaded into memory. */ | |
57 public int getBaseOfCode(); | |
58 | |
59 /** Onle present in PE32 files; absent in PE32+ files. Address, | |
60 relative to image base, of beginning of data section, when | |
61 loaded into memory. */ | |
62 public int getBaseOfData() throws COFFException; | |
63 } |