Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 17 jdk.hotspot.agent.jmod - Hotspot Agent Module
JDK 17 jdk.hotspot.agent.jmod is the JMOD file for JDK 17 Hotspot Agent module.
JDK 17 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.hotspot.agent.jmod.
JDK 17 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Hotspot Agent module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.hotspot.agent.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvm/hotspot/debugger/win32/coff/TestParser.java
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.debugger.win32.coff;
public class TestParser {
public static void main(String[] args) {
if (args.length != 1) {
System.err.println("usage: java TestParser [file name]");
System.err.println("File name may be an .exe, .dll or .obj");
System.exit(1);
}
try {
COFFFile file = COFFFileParser.getParser().parse(args[0]);
if (file.isImage()) {
System.out.println("PE Image detected.");
} else {
System.out.println("PE Image NOT detected, assuming object file.");
}
COFFHeader header = file.getHeader();
int numSections = header.getNumberOfSections();
System.out.println(numSections + " sections detected.");
for (int i = 1; i <= numSections; i++) {
SectionHeader secHeader = header.getSectionHeader(i);
System.out.println(secHeader.getName());
}
// FIXME: the DLL exports are not contained in the COFF symbol
// table. Instead, they are in the Export Table, one of the
// Optional Header Data Directories available from the Optional
// Header. Must implement that next.
/*
int numSymbols = header.getNumberOfSymbols();
System.out.println(numSymbols + " symbols detected.");
System.out.println("Symbol dump:");
for (int i = 0; i < header.getNumberOfSymbols(); i++) {
COFFSymbol sym = header.getCOFFSymbol(i);
System.out.println(" " + sym.getName());
}
*/
// OK, let's give the exported symbols a shot
OptionalHeader optHdr = header.getOptionalHeader();
OptionalHeaderDataDirectories ddirs = optHdr.getDataDirectories();
ExportDirectoryTable exports = ddirs.getExportDirectoryTable();
System.out.println("Export flags (should be 0): " + exports.getExportFlags());
System.out.println("DLL name (from export directory table): " +
exports.getDLLName());
int numSymbols = exports.getNumberOfNamePointers();
System.out.println(numSymbols + " exported symbols detected:");
for (int i = 0; i < numSymbols; i++) {
System.out.println(" " + exports.getExportName(i));
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
⏎ sun/jvm/hotspot/debugger/win32/coff/TestParser.java
Or download all of them as a single archive file:
File name: jdk.hotspot.agent-17.0.5-src.zip File size: 1238587 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.httpserver.jmod - HTTP Server Module
2023-10-04, ≈171🔥, 0💬
Popular Posts:
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.0.2? The if y...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
XML Serializer, Release 2.7.1, allows you to write out XML, HTML etc. as a stream of characters from...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip...